﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="wucFileUpload.ascx.cs" Inherits="Ankin.EHBH.Web.Controls.wucFileUpload" %>

<table cellSpacing="0" cellPadding="0" width="99%" border="0" align="center">
	<tr>
		<TD width="100%" colSpan="2" class="bor-bg">
				<asp:Label id="lblAttach" runat="server">附件</asp:Label></TD>
	</tr>
	<asp:Panel ID="panVisibleLine" runat=server>
	<TR>
		<TD class="LineTitle" height="1"><IMG height="1" src="../images/null.gif" width="1" border="0"></TD>
		<TD class="LineContent" height="1"><IMG height="1" src="../images/null.gif"width="1" border="0"></TD>
	</TR>
	</asp:Panel>
</table>

<table runat="server" id="tbshow" style="width: 98%;" enableviewstate="true" class="lisencebg" align="center">
		<tr>
			<td><asp:DataGrid id="grdList" runat="server" CellSpacing="1" AllowSorting="True" AutoGenerateColumns="False"
					GridLines="None" CellPadding="3" Width="100%">
					<AlternatingItemStyle CssClass="ListItemAlternating"></AlternatingItemStyle>
					<ItemStyle CssClass="ListItem"></ItemStyle>
					<HeaderStyle Wrap="False" HorizontalAlign="Center" CssClass="ListCaption" VerticalAlign="Middle"></HeaderStyle>
					<Columns>
						<asp:BoundColumn Visible="True" DataField="FILE_NAME" SortExpression="FileID" HeaderText="文件名">
							<ItemStyle Wrap="False"></ItemStyle>
                            <HeaderStyle Width="30%" />
						</asp:BoundColumn>
						<asp:BoundColumn Visible="False" DataField="UPLOAD_MAN" HeaderText="上传人ID"></asp:BoundColumn>
						<asp:BoundColumn Visible="False" DataField="PATH" HeaderText="文件路径"></asp:BoundColumn>
						<asp:TemplateColumn Visible="False" SortExpression="DESCR" HeaderText="附件说明">
							
							<ItemTemplate>
								<asp:LinkButton id=lbtnDescr runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.DESCR") %>'>
								</asp:LinkButton>
							</ItemTemplate>
						</asp:TemplateColumn>
						<asp:BoundColumn DataField="USER_NAME" SortExpression="USER_NAME" HeaderText="上传人">
							<HeaderStyle Wrap="False" Width="10%"></HeaderStyle>
							<ItemStyle Wrap="False"></ItemStyle>
						</asp:BoundColumn>
						<asp:BoundColumn DataField="UPLOAD_DATE" SortExpression="UPLOAD_DATE" HeaderText="上传日期">
							<HeaderStyle Wrap="False" Width="15%"></HeaderStyle>
							<ItemStyle Wrap="False"></ItemStyle>
						</asp:BoundColumn>
						<asp:TemplateColumn HeaderText="删除">
							<HeaderStyle Wrap="False" HorizontalAlign="Center" Width="1%"></HeaderStyle>
							<ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
							<ItemTemplate>
								<asp:ImageButton id="btnDel" runat="server" CommandName="imgdel" ImageUrl="../Images/Delete.gif"></asp:ImageButton>
							</ItemTemplate>
						</asp:TemplateColumn>
						<asp:TemplateColumn HeaderText="下载">
							<HeaderStyle Wrap="False" HorizontalAlign="Center" Width="1%"></HeaderStyle>
							<ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
							<ItemTemplate>
								<asp:ImageButton id="btnDown" runat="server" CommandName="downfile" ImageUrl="../Images/Down_Arrow.gif"></asp:ImageButton>
							</ItemTemplate>
						</asp:TemplateColumn>
					</Columns>
					<%--<PagerStyle Visible="False" Mode="NumericPages"></PagerStyle>--%>
				</asp:DataGrid></td>
		</tr>

</table>

<table id="tbFiles" runat="server" style="width: 98%;" enableviewstate="true"  class="lisencebg" align="center">

    <tr>
       <td width="10%">
       <asp:Label ID="Label1" runat="server" Text="附件"></asp:Label>
       </td>
        <td>
            <asp:FileUpload Width="90%"  ID="FileUpload1" CssClass="fileupload" runat="server"  /></td>
            
         <%--<td width="15%" align="center">
           <asp:Button ID="btAddFile" runat="server" Text="增加文件"  OnClick="btAddFile_Click" />
         </td>--%>
    </tr>
    <tr>
       <td width="10%">
       <asp:Label ID="Label2" runat="server" Text="附件"></asp:Label>
       </td>
        <td>
            <asp:FileUpload Width="90%"  ID="FileUpload2" CssClass="fileupload" runat="server"  /></td>
            
         <%--<td width="15%" align="center">
           <asp:Button ID="btAddFile" runat="server" Text="增加文件"  OnClick="btAddFile_Click" />
         </td>--%>
    </tr>
    <tr>
       <td width="10%">
       <asp:Label ID="Label3" runat="server" Text="附件"></asp:Label>
       </td>
        <td>
            <asp:FileUpload Width="90%"  ID="FileUpload3" CssClass="fileupload" runat="server"  /></td>
            
         <%--<td width="15%" align="center">
           <asp:Button ID="btAddFile" runat="server" Text="增加文件"  OnClick="btAddFile_Click" />
         </td>--%>
    </tr>
    <tr>
       <td width="10%">
       <asp:Label ID="Label4" runat="server" Text="附件"></asp:Label>
       </td>
        <td>
            <asp:FileUpload Width="90%"  ID="FileUpload4" CssClass="fileupload" runat="server"  /></td>
            
         <%--<td width="15%" align="center">
           <asp:Button ID="btAddFile" runat="server" Text="增加文件"  OnClick="btAddFile_Click" />
         </td>--%>
    </tr>
</table>